package com.ruoyi.wechart.domain;


import lombok.Data;

@Data
public class WxLoginUser {

    /**
     * 登录token
     */
    private String token;

    /**
     * 登陆局用户名（学号或工号或手机号)
     */
    private String userName;

    /**
     * 所属部门
     */
    private String deptName;

    /**
     * 用户状态 (-1登录失败，0正常，1已注册，未审核，2已注册，审核不通过，3禁用)
     */
    private Integer status;

    /**
     * 用户状态说明
     */
    private String msg;

    public WxLoginUser(String userName, String deptName, Integer status, String msg) {
        this.userName = userName;
        this.deptName = deptName;
        this.status = status;
        this.msg = msg;
    }

    public WxLoginUser( String userName, String deptName,String token) {
        this.token = token;
        this.userName = userName;
        this.deptName = deptName;
        this.status = 0;
    }
}
